package com.seafwg.springboot1.vo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author seafwg
 * @Date 2022/3/20 11:51 下午
 * @Version 1.0
 * @description xxx
 */

@Component(value = "developer")
public class Dev {
    @Value("${dev.id}")
    private Integer id;
    @Value("${dev.name}")
    private String name;
    @Value("${dev.email}")
    private String email;

    @Override
    public String toString() {
        return "Dev{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}
